package cn.edu.csust.coursecard.dao;

import cn.edu.csust.coursecard.dao.entity.RecruitInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface RecruitInfoMapper {

    int insertSelective(RecruitInfo record);

    RecruitInfo selectByPrimaryKey(Integer id);

    List<RecruitInfo> selectByTitle(@Param("title") String title);

    List<RecruitInfo> selectAll();

    int deleteByPrimaryKey(Integer id);
}